package com.atde._05_behavioral_design_patterns.strategy.improve;


/**
 * @BelongsProject: hsp_java_design_mode
 * @BelongsPackage: com.atde._05_behavioral_design_patterns.strategy.improve
 * @Author: Del
 * @CreateTime: 2025-06-30  15:57
 * @Description: 策略模式：测试
 * @Version: 1.0
 */
public class Client {
    public static void main(String[] args) {
        WildDuck wildDuck = new WildDuck();
        wildDuck.fly();

        PekingDuck pekingDuck = new PekingDuck();
        pekingDuck.fly();

        ToyDuck toyDuck = new ToyDuck();
        toyDuck.fly();
    }
}
